<?php

namespace frontend\assets;

use yii\web\AssetBundle;

class MktWapCommonAsset extends AssetBundle
{
    //public $sourcePath = '@frontend/views/wap';
    public $basePath = '@webroot';
    public $baseUrl = '@web';

    public $css = [
         //'css/style.css',
        'resources/css/weui/weui.min.css',
        // '//cdn.bootcss.com/jquery-weui/0.8.0/css/jquery-weui.min.css',
        'resources/css/main.min.css',
        'resources/css/man.min.css?v=0.2',
    ];


    public $js = [
         //'js/app.js',
        //'js/sprintf.js',
        //'resources/js/jquery-1.10.min.js',
        //'//cdn.bootcss.com/jquery/2.1.4/jquery.min.js',
        'resources/js/jquery.touchSwipe.min.js',
//        'resources/js/frmwebm.min.js',
        'resources/js/frmwebm.js?v=0.1',
//        '//cdn.bootcss.com/jquery-weui/0.8.0/js/jquery-weui.min.js',
//        '//cdn.bootcss.com/vue/1.0.26/vue.min.js',
    ];


    public $jsOptions = [
              'position' => \yii\web\View::POS_HEAD
    ];

    public $depends = [
        'yii\web\YiiAsset',
//        'common\wosotech\WeuiJSAsset',
        //'yii\bootstrap\BootstrapAsset',
        //'common\assets\Html5shiv',
    ];
}
